package com.zt.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import lombok.Data;

/**
 * 微信配置信息1
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatConfig {
    /** 微信小程序AppID */
    private String appId;
    
    /** 微信小程序AppSecret */
    private String appSecret;
    
    /** 微信登录凭证校验URL */
    private String jsCode2SessionUrl = "https://api.weixin.qq.com/sns/jscode2session";
    
    /** 微信授权类型 */
    private String grantType = "authorization_code";
} 